<?
$server = "localhost";

$user = "root";

$password = "root";

$dbName = "hospital";

$conn = mysql_connect($server,$user,$password,$dbName);
	
		if (!@mysql_select_db($dbName, $conn))
		{
			die ("There was a problem connecting to the database. Please try again later...");
		}
		return $conn;
date_default_timezone_set('Asia/Calcutta');		
?>